.TH SYNC 8
.SH NAME
sync \- flush the cache to disk
.SH SYNOPSIS
\fBsync\fR
.br
.SH EXAMPLES
.TP 20
.B sync
# Write out all modified cache blocks
.SH DESCRIPTION
.PP
The kernel maintains a cache of recently used disk blocks.
The 
.I sync
command writes any modified cache blocks back to the disk.
This is essential before stopping the system, and should be done before
running any
program that might crash.
.SH "SEE ALSO"
.BR sync (2),
.BR shutdown (8),
.BR reboot (8),
.BR poweroff (8).
